<template>
	<div>
		<!-- vue内置组件：专门接收插槽的内容 -->
		<h2>我是子组件自有的</h2>
		<div class="my-slot">
			<slot></slot>
		</div>
		<slot></slot>
	</div>
</template>

<style>
.my-slot {
	color: red;
}
.my-slot h1 {
	font-weight: 200;
}
</style>

<script>
export default {}
</script>